package com.zdsoft.blp.zongbuju.shouye.linliquan.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/8/31.
 */
public class LinLi implements Serializable {
    private String zhaoPName;
    private int image;
    private String dianhua;
    private String zanNum;
    private String pingNum;
    private String contentImage;
    private int touxiang;
    private String Tou;
    private String date;
    private int code;
    private String id;                 // 数据ID
    private String headimgurl;         //发布人头像
    private String username;         //发布人姓名
    private String createTime;       //发布时间
    private String title;             //发布标题
    private String content;         //发布内容
    private String contact;         //联系人
    private String contactPhone;    //联系电话
    private int[]img;               //发布图片说明
    private String picPath;         //列表图片展示
    private String replyNum;        //评论条数
    private int approvedResult; //该主题帖的审核状态
    private String userId;//该用户的Id
    private boolean zan;
    public LinLi() {
    }
    /*
    @二手市场
     */
    public LinLi(String dianhua, String pingNum, String contentImage, String tou, String date, String id, String username, String title, String content) {
        this.dianhua = dianhua;
        this.pingNum = pingNum;
        this.contentImage = contentImage;
        Tou = tou;
        this.date = date;
        this.id = id;
        this.username = username;
        this.title = title;
        this.content = content;
    }
    public LinLi(String dianhua, String pingNum, String contentImage, String tou, String date, String id, String username, String title, String content,int approvedResult) {
        this.dianhua = dianhua;
        this.pingNum = pingNum;
        this.contentImage = contentImage;
        Tou = tou;
        this.date = date;
        this.id = id;
        this.username = username;
        this.title = title;
        this.content = content;
        this.approvedResult=approvedResult;
    }


    //房屋出租使用构造方法
    public LinLi(String id,String headimgurl, String username, String createTime, String title,
                 String content, String contact, String contactPhone,
                 String picPath, String replyNum) {
        this.id = id;
        this.headimgurl = headimgurl;
        this.username = username;
        this.createTime = createTime;
        this.title = title;
        this.content = content;
        this.contact = contact;
        this.contactPhone = contactPhone;
        this.picPath = picPath;
        this.replyNum = replyNum;
    }
    public LinLi(String id,String headimgurl, String username, String createTime, String title,
                 String content, String contact, String contactPhone,
                 String picPath, String replyNum,int approvedResult) {
        this.id = id;
        this.headimgurl = headimgurl;
        this.username = username;
        this.createTime = createTime;
        this.title = title;
        this.content = content;
        this.contact = contact;
        this.contactPhone = contactPhone;
        this.picPath = picPath;
        this.replyNum = replyNum;
        this.approvedResult=approvedResult;
    }

    public LinLi(String id, String title, String username, String dianhua, String picPath) {
        this.id=id;
        this.title = title;
        this.username = username;
        this.dianhua = dianhua;
        this.picPath = picPath;
    }
    public LinLi(String id, String title, String username, String dianhua, String picPath,int approvedResult) {
        this.id=id;
        this.title = title;
        this.username = username;
        this.dianhua = dianhua;
        this.picPath = picPath;
        this.approvedResult=approvedResult;
    }


    public LinLi(String username, String title, String content, int image, String dianhua, String pingNum, int touxiang, String date) {
        this.username = username;
        this.title = title;
        this.content = content;
        this.image = image;
        this.dianhua = dianhua;
        this.pingNum = pingNum;
        this.touxiang = touxiang;
        this.date = date;
    }
    //论坛详情
    public LinLi(String username, String title, String content, String zanNum, String pingNum, String tou, String date,String contentImage) {
        this.username = username;
        this.title = title;
        this.content = content;
        this.zanNum = zanNum;
        this.pingNum = pingNum;
        Tou = tou;
        this.date = date;
        this.contentImage=contentImage;
    }
    public LinLi(String username, String title, String content, String zanNum, String pingNum, String tou, String date,String contentImage,int approvedResult) {
        this.username = username;
        this.title = title;
        this.content = content;
        this.zanNum = zanNum;
        this.pingNum = pingNum;
        Tou = tou;
        this.date = date;
        this.contentImage=contentImage;
        this.approvedResult=approvedResult;
    }

    //社区论坛
    public LinLi(String username, String title, String content, String zanNum, String pingNum, int touxiang, String date) {
        this.username = username;
        this.title = title;
        this.content = content;
        this.zanNum = zanNum;
        this.pingNum = pingNum;
        this.touxiang = touxiang;
        this.date = date;

    }

    public LinLi(String username, String dianhua, String title, int image) {
        this.username = username;
        this.dianhua = dianhua;
        this.title = title;
        this.image = image;
    }

    public LinLi(String username, String title, String content, String zhaoPName, int touxiang, String pingNum, String dianhua, String date) {
        this.username = username;
        this.title = title;
        this.content = content;
        this.zhaoPName = zhaoPName;
        this.touxiang = touxiang;
        this.pingNum = pingNum;
        this.dianhua = dianhua;
        this.date = date;
    }

    public LinLi(String username, String content, int touxiang, String date) {
        this.username = username;
        this.content = content;
        this.touxiang = touxiang;
        this.date = date;
    }
    //评论 Listview
    public LinLi(String username, String content, String picPath, String date) {
        this.username = username;
        this.content = content;
        this.picPath = picPath;
        this.date = date;
    }

    public int getApprovedResult() {
        return approvedResult;
    }

    public void setApprovedResult(int approvedResult) {
        this.approvedResult = approvedResult;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public int[] getImg() {
        return img;
    }

    public void setImg(int[] img) {
        this.img = img;
    }

    public String getReplyNum() {
        return replyNum;
    }

    public void setReplyNum(String replyNum) {
        this.replyNum = replyNum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getUsername() {
        return username;
    }

    public String getContentImage() {
        return contentImage;
    }

    public void setContentImage(String contentImage) {
        this.contentImage = contentImage;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTou() {
        return Tou;
    }

    public void setTou(String tou) {
        Tou = tou;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getImage() {
        return image;
    }

    public void setImage(int image) {
        this.image = image;
    }

    public String getZanNum() {
        return zanNum;
    }

    public void setZanNum(String zanNum) {
        this.zanNum = zanNum;
    }

    public String getPingNum() {
        return pingNum;
    }

    public void setPingNum(String pingNum) {
        this.pingNum = pingNum;
    }

    public int getTouxiang() {
        return touxiang;
    }

    public void setTouxiang(int touxiang) {
        this.touxiang = touxiang;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDianhua() {
        return dianhua;
    }

    public void setDianhua(String dianhua) {
        this.dianhua = dianhua;
    }

    public String getZhaoPName() {
        return zhaoPName;
    }

    public void setZhaoPName(String zhaoPName) {
        this.zhaoPName = zhaoPName;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isZan() {
        return zan;
    }

    public void setZan(boolean zan) {
        this.zan = zan;
    }
}
